package cn.bdqn.mall.util;

import java.io.Serializable;

public class Result implements Serializable {
    private Boolean ok;
    private String msg;
    private Object data;

    public static Result returnOk() {
        Result result = new Result();
        return result;
    }
    public Boolean isOk() {
        return ok;
    }

    public void setOk(Boolean ok) {
        this.ok = ok;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
